package com.kingyun.gpsinspection.purificationservice.facade.model.tdm;

import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 作业环节受控管理VO
 * Created by jiangjx on 2017/1/16.
 */
public class WorkLinkVo extends BootstrapSearchBean implements Serializable {
    private static final long serialVersionUID = -4924935327066996218L;

    private Short taskType;//任务类型
    private String workOrderName;//工单名称
    private String cellId;//操作单元名称
    private String entityId;//执行对象
    private String orgId;//执行组织
    private Short stepIndex;//步骤编号
    private String stepName;//操作步骤
    private Short status;//执行情况
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date executeTimeBegin;//执行开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date executeTimeEnd;//执行结束时间
    private Integer executeDuring;//执行耗时

    public Short getTaskType() {
        return taskType;
    }

    public void setTaskType(Short taskType) {
        this.taskType = taskType;
    }

    public String getWorkOrderName() {
        return workOrderName;
    }

    public void setWorkOrderName(String workOrderName) {
        this.workOrderName = workOrderName;
    }

    public String getCellId() {
        return cellId;
    }

    public void setCellId(String cellId) {
        this.cellId = cellId;
    }

    public String getEntityId() {
        return entityId;
    }

    public void setEntityId(String entityId) {
        this.entityId = entityId;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public Short getStepIndex() {
        return stepIndex;
    }

    public void setStepIndex(Short stepIndex) {
        this.stepIndex = stepIndex;
    }

    public String getStepName() {
        return stepName;
    }

    public void setStepName(String stepName) {
        this.stepName = stepName;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public Date getExecuteTimeBegin() {
        return executeTimeBegin;
    }

    public void setExecuteTimeBegin(Date executeTimeBegin) {
        this.executeTimeBegin = executeTimeBegin;
    }

    public Date getExecuteTimeEnd() {
        return executeTimeEnd;
    }

    public void setExecuteTimeEnd(Date executeTimeEnd) {
        this.executeTimeEnd = executeTimeEnd;
    }

    public Integer getExecuteDuring() {
        return executeDuring;
    }

    public void setExecuteDuring(Integer executeDuring) {
        this.executeDuring = executeDuring;
    }
}
